package com.pro.service;

import com.pro.pojo.JsBeforeUser;
import com.pro.pojo.JsMonthCount;
import com.pro.pojo.JsonData;

import java.util.List;
import java.util.Map;

/**
 * ClassName:JsBeforeUserService
 * Package:com.pro.service
 * Description:
 *
 * @Date:2021/11/13 14:55
 * @Author: ZPT
 */
public interface JsBeforeUserService {
    JsonData getBeforeUserTable();

    int count();

    Integer updateStatus(Integer userId,Integer status);

    JsonData getSearchBeforeUser(String account,String createDate,String nickname);

    Integer delBeforeUser(Integer userId);

    JsonData getRetrievalTable(String userCode,String consumption,Integer studyDate);

    JsBeforeUser getinformation(Integer userId);

    Integer updateBeforeUser(JsBeforeUser jsBeforeUser);

    List<JsBeforeUser> getNonUserDevelopment(String account,String createDate,String nickname,
                                             String userCode,String consumption,Integer studyDate);

    JsBeforeUser getNonUserDevelopmentById(Integer userId,String consumption);

    List<JsBeforeUser> getZeroConsumeUser();

    List<JsMonthCount> countMonth();
    //昨日新增人数
    int yesterdayAddCount();
    //当时新增人数
    int todayAddCount();
    //本月新增人数
    int monthAddCount();
}
